PDF Plugin for Xojo

ExtendedGraphicsState.SetAlphaFill Method (console safe)

Sets alpha for the fill

SetAlphaFill(
   value as Single)

Parameters

value
0.0 = full transparent, 1.0 = opaque

Remarks

Setting alpha fill example:


Dim state as ExtendedGraphicsState

state = pdf.CreateExtendedGraphicsState()
state.SetAlphaFill(0.7)

myPage.SaveState()
myPage.SetExtendedState(state)

myPage.FillColor =&c0000FF
myPage.Rectangle(10,myPage.Height-160,50,50)
myPage.Fill()
myPage.RestoreState()

See Also

ExtendedGraphicsState Class